﻿Public Class Inmueble

    Private _idInmueble
    Public Property idInmueble() As Integer
        Get
            Return _idInmueble
        End Get
        Set(ByVal value As Integer)
            _idInmueble = value
        End Set
    End Property


    Private _idDueño
    Public Property idDueño() As Integer
        Get
            Return _idDueño
        End Get
        Set(ByVal value As Integer)
            _idDueño = value
        End Set
    End Property


    Private _idCentroEstudio
    Public Property idCentroEstudio() As Integer
        Get
            Return _idCentroEstudio
        End Get
        Set(ByVal value As Integer)
            _idCentroEstudio = value
        End Set
    End Property

    Private _Fecha
    Public Property Fecha() As String
        Get
            Return _Fecha
        End Get
        Set(ByVal value As String)
            _Fecha = value
        End Set
    End Property


    Private _Precio
    Public Property Precio() As Integer
        Get
            Return _Precio
        End Get
        Set(ByVal value As Integer)
            _Precio = value
        End Set
    End Property


    Private _Direccion
    Public Property Direccion() As String
        Get
            Return _Direccion
        End Get
        Set(ByVal value As String)
            _Direccion = value
        End Set
    End Property

    Private _NumPiso
    Public Property NumPiso() As Integer
        Get
            Return _NumPiso
        End Get
        Set(ByVal value As Integer)
            _NumPiso = value
        End Set
    End Property

    Private _TipoInmueble
    Public Property TipoInmueble() As String
        Get
            Return _TipoInmueble
        End Get
        Set(ByVal value As String)
            _TipoInmueble = value
        End Set
    End Property

    Private _Foto1
    Public Property Foto1() As String
        Get
            Return _Foto1
        End Get
        Set(ByVal value As String)
            _Foto1 = value
        End Set
    End Property

    Private _Foto2
    Public Property Foto2() As String
        Get
            Return _Foto2
        End Get
        Set(ByVal value As String)
            _Foto2 = value
        End Set
    End Property

    Private _Estado
    Public Property Estado() As String
        Get
            Return _Estado
        End Get
        Set(ByVal value As String)
            _Estado = value
        End Set
    End Property

    Private _GoogleMap
    Public Property GoogleMap() As String
        Get
            Return _GoogleMap
        End Get
        Set(ByVal value As String)
            _GoogleMap = value
        End Set
    End Property


    Private _Valoracion
    Public Property Valoracion() As Integer
        Get
            Return _Valoracion
        End Get
        Set(ByVal value As Integer)
            _Valoracion = value
        End Set
    End Property

    'Un inmueble esta relacionado con un centro de estudio

    Private _Inmueble As Inmueble
    'Public Property Inmueble() As Inmueble
    '    Get
    '        Return _Inmueble
    '    End Get
    '    Set(ByVal value As Inmueble)
    '        _Inmueble = value
    '    End Set
    'End Property

    'un inmueble puede tener muchos comentarios

    Private _Comentario As Collection
    Public Property Comentario() As Collection
        Get
            Return _Comentario

        End Get
        Set(ByVal value As Collection)
            _Comentario = value
        End Set
    End Property


    'Un inmueble debe tener una reserva
    'Private _Reserva As Reserva
    'Public Property Reserva() As Reserva
    '    Get
    '        Return _Reserva
    '    End Get
    '    Set(ByVal value As Reserva)
    '        _Reserva = value
    '    End Set
    'End Property
End Class